#include "ColumnTypeError.h"

ColumnTypeError::ColumnTypeError(const std::string & colname,const std::string & errvalue,const std::string & type) : BaseException(""), _colname(colname), _errvalue(errvalue), _type(type)
{
	_msg = _colname + " with type " + _type + " has mismatch value " + _errvalue;
	_cmsg = _msg.c_str();
}

const char * ColumnTypeError::what() const
{
	return _cmsg;
}

ColumnTypeError::~ColumnTypeError(void)
{
}
